package com.dongdongshop.service;

import com.dongdongshop.pojo.TbContent;
import com.dongdongshop.pojo.TbContentCategory;
import com.dongdongshop.pojo.vo.ContentVo;

import java.util.List;

public interface ContentService {
    List<TbContentCategory> getContentInfo(String name);

    void insertContent(TbContentCategory contentCategory);

    TbContentCategory updateContentInfo(Long id);

    void updateContent(TbContentCategory contentCategory);

    void deleteBatch(Integer[] ids);

    List<ContentVo> getContentInfos();

    List<TbContentCategory> getContentCategory();

    void insertContentss(TbContent content);

    TbContent updateContentInfos(Long id);

    void updateContentss(TbContent content);

    void deleteBatchs(Integer[] ids);

    List<TbContent> getContentBannerInfo(Long categoryId);
}
